package Rangel.firebrigade.buildingdetector;

import Rangel.firebrigade.cluster.Cluster;
import Rangel.common.world.entity.RangelBuilding;

/*
*对building的封装，FireBridge目标主要以search building为主
 */
public class FireBrigadeTarget {

    private RangelBuilding RangelBuilding;
    private Cluster cluster;

    public FireBrigadeTarget(RangelBuilding RangelBuilding, Cluster cluster) {
        this.RangelBuilding = RangelBuilding;
        this.cluster = cluster;
    }

    public RangelBuilding getRangelBuilding() {
        return RangelBuilding;
    }

    public Cluster getCluster() {
        return cluster;
    }

    @Override
    public String toString() {
        return " cluster id = " + cluster.getId();
    }
}
